package com.kongwg.team.domain;

public class Architect extends Designer {
	
	private int stock;//股票奖励

	public Architect(int id, String name, int age, double salary, Equipment equipment, double bonus,
			int stock) {
		super(id, name, age, salary, equipment, bonus);
		this.stock = stock;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}
	
	@Override
	public String toString() {
		return getDetails() + "\t设计设\t" + getStatus() + "\t"+getBonus()+"\t" + getStock()+"\t" + getEquipment().getDescription();
	}
	
	//3/8	杨元庆	30	19800.0	架构师	15000.0	2500
	@Override
	public String getDetailsForTeam() {
		return getTeamForDetail()+"\t"+"架构师"+ "\t"+getBonus()+"\t"+getStock();
	}
}
